﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FactoryMethodClient
{
    class Program
    {
        static void Main(string[] args)
        {
            IFactory factory1 = new ScourgeFactory();
            IHero hero1 = factory1.CrateHero(HeroEnun.SF);
            hero1.ShowMoveSpeed();
            IFactory factory2 = new SentinelFactory();
            IHero hero2 = factory2.CrateHero(HeroEnun.Coco);
            hero2.ShowMoveSpeed();
            
        }
    }
}
